import glob

# create build environment
env = Environment()

# gather a list of source files
sources = glob.glob("src/*.c??")

env.Append(CCFLAGS = ["-g", "-Wall", "-O2", "-DDEBUG"])
env.Append(LIBS = ["osgDB", "osgUtil", "osg"])
#env.Append(LIBS = ["osgProducer", "osgParticle", "osgText", "osgGA", "osgDB", "osgUtil", "osg"])
#env.Append(CPPPATH = ["/usr/include/lua5.1/"])

# build target
env.Program(target = "bin/kig", source = sources)
#env.SharedLibrary(target = "lib/_Consume", source = sources)
#env.Library(target = "fgeGL", source = sources)

